package charles.testproject.construstandextends;

public class A extends B{
	//when father class overwrite the construct method , it's 
	//child class must have to override at least one of the father's construct methods
	
	
	public A(int i) {
		super(i);//implicit super constructor B() is undefined ,must explicitly invoke another constructor
		System.out.println(i);
	}

	public static void main(String[] args) {
		A a = new A(5);
	}
}
